-- *****************************************************************
-- Juniper-SDX-WORKFLOW-MIB
--
-- Juniper Networks Inc.
-- Juniper Management Center MIB
--
Juniper-SDX-WORKFLOW-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY,
    OBJECT-TYPE,
    Integer32,
    Counter32,
    Gauge32
        FROM SNMPv2-SMI

    MODULE-COMPLIANCE,
    OBJECT-GROUP
        FROM SNMPv2-CONF

    juniSdxMibs
        FROM Juniper-SDX-MIBS

    JuniSdxWorkflowAdminStatus,
    JuniSdxWorkflowOperatingStatus,
    JuniSdxWorkflowAction
        FROM Juniper-SDX-TC-MIB;

juniSdxWorkflowMib MODULE-IDENTITY
    LAST-UPDATED "200308111100Z"  -- 08-Aug-03

    ORGANIZATION "Juniper Networks, Inc."
    CONTACT-INFO
        "        Juniper Technical Assistance Center
                 Juniper Networks, Inc.
                 1194 N. Mathilda Avenue
                 Sunnyvale, CA 94089
                 E-mail: support@juniper.net"

    DESCRIPTION
        "MIB of the SDX Workflow"

    REVISION "200308111100Z"  -- 08-Aug-03
    DESCRIPTION
    "Minor syntax updates"

    REVISION "200211011600Z"  -- 01-Nov-02
    DESCRIPTION
    "
        WORKFLOW TABLE CHANGES: 
        juniSdxWorkflowInstanceSize      ->  Gauge32,
        juniSdxWorkflowEventSize         ->  Gauge32,
        juniSdxWorkflowReportSize        ->  Gauge32,
        juniSdxWorkflowPersistentSize    ->  Gauge32,
        juniSdxWorkflowActiveWorkflows   ->  Gauge32,
        juniSdxWorkflowRunningWorkflows  ->  Gauge32,
        juniSdxWorkflowPendingEvents     ->  Gauge32,
    "

    REVISION "200210251600Z"  -- 25-Oct-02
    DESCRIPTION
    "Revision info updated."

    ::= { juniSdxMibs 4 }



-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- MIB Structure
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

juniSdxMgmtInterface OBJECT IDENTIFIER ::= { juniSdxWorkflowMib 1 }

juniSdxWorkflowTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF JuniSdxWorkflowEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
    "Table of Workflow MI-derived entries."
    ::= { juniSdxMgmtInterface 1 }

    juniSdxWorkflowEntry OBJECT-TYPE
        SYNTAX      JuniSdxWorkflowEntry
        MAX-ACCESS  not-accessible
        STATUS      current
        DESCRIPTION
        "A table entry describing Workflow application.
         The index for this table is: juniSdxWorkflowIndex,
         The index represents an instance of a workflow."
        INDEX   { juniSdxWorkflowIndex }
        ::= { juniSdxWorkflowTable 1 }

    JuniSdxWorkflowEntry ::= SEQUENCE {
        juniSdxWorkflowIndex              Integer32,
        juniSdxWorkflowInstanceSize       Gauge32,
        juniSdxWorkflowEventSize          Gauge32,
        juniSdxWorkflowReportSize         Gauge32,
        juniSdxWorkflowPersistentSize     Gauge32,
        juniSdxWorkflowActiveWkfs         Gauge32,
        juniSdxWorkflowCompletedWkfs      Counter32,
        juniSdxWorkflowCancelledWkfs      Counter32,
        juniSdxWorkflowRunningWkfs        Gauge32,
        juniSdxWorkflowPendingEvents      Gauge32,
        juniSdxWorkflowAdminStatus        JuniSdxWorkflowAdminStatus,
        juniSdxWorkflowOperStatus         JuniSdxWorkflowOperatingStatus,
        juniSdxWorkflowAction             JuniSdxWorkflowAction
    }

   juniSdxWorkflowIndex OBJECT-TYPE
        SYNTAX      Integer32 (0..10000)
        MAX-ACCESS  not-accessible
        STATUS      current
        DESCRIPTION
        "This represents an instance of a workflow."
        ::= { juniSdxWorkflowEntry 1 }

    juniSdxWorkflowInstanceSize OBJECT-TYPE
        SYNTAX      Gauge32
        UNITS       "kilobytes"
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
        "The size of the the 'Instance Store' file."
        ::= { juniSdxWorkflowEntry 2 }

    juniSdxWorkflowEventSize OBJECT-TYPE
        SYNTAX      Gauge32
        UNITS       "kilobytes"
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
        "The size of the the 'Event Store' file."
        ::= { juniSdxWorkflowEntry 3 }

    juniSdxWorkflowReportSize OBJECT-TYPE
        SYNTAX      Gauge32
        UNITS       "kilobytes"
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
        "The size of the the 'Report Store' file."
        ::= { juniSdxWorkflowEntry 4 }

    juniSdxWorkflowPersistentSize OBJECT-TYPE
        SYNTAX      Gauge32
        UNITS       "kilobytes"
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
        "The size of persistent storage."
        ::= { juniSdxWorkflowEntry 5 }

    juniSdxWorkflowActiveWkfs OBJECT-TYPE
        SYNTAX      Gauge32
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
        "The number of active workflows."
        ::= { juniSdxWorkflowEntry 6 }

    juniSdxWorkflowRunningWkfs OBJECT-TYPE
        SYNTAX      Gauge32
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
        "The number of running workflows."
        ::= { juniSdxWorkflowEntry 7 }

    juniSdxWorkflowCompletedWkfs OBJECT-TYPE
        SYNTAX      Counter32
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
        "The number of completed workflows. This is based on the current
        execution engine only."
        ::= { juniSdxWorkflowEntry 8 }

    juniSdxWorkflowCancelledWkfs OBJECT-TYPE
        SYNTAX      Counter32
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
        "The number of cancelled workflows.   This is based on the current
        execution engine only."
        ::= { juniSdxWorkflowEntry 9 }

    juniSdxWorkflowPendingEvents OBJECT-TYPE
        SYNTAX      Gauge32
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
        "The number of pending events."
        ::= { juniSdxWorkflowEntry 10 }

    juniSdxWorkflowAdminStatus OBJECT-TYPE
        SYNTAX      JuniSdxWorkflowAdminStatus
        MAX-ACCESS  read-write
        STATUS      current
        DESCRIPTION
        "The administration status of the workflow engine.  While
         the Component table allows you to stop and start the workflow engine
         this setting allows one to suspend operation of the workflow engine and
         then resume it at a later time.

         A read of this variable returns the last attempted state change
         by this snmp manager only."
        ::= { juniSdxWorkflowEntry 11 }

    juniSdxWorkflowOperStatus OBJECT-TYPE
        SYNTAX JuniSdxWorkflowOperatingStatus
        MAX-ACCESS read-only
        STATUS     current
        DESCRIPTION
        "The current operating status of the workflow"
        ::= { juniSdxWorkflowEntry 12 }

    juniSdxWorkflowAction OBJECT-TYPE
        SYNTAX JuniSdxWorkflowAction
        MAX-ACCESS read-write
        STATUS     current
        DESCRIPTION
        "This allows you to perform specific actions on the workflow engine.
         These actions can only be done if the workflow is suspended.

         A read of this variable returns the last attempted action
         by this snmp manager only."
        ::= { juniSdxWorkflowEntry 13 }

-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--
-- Conformance information
--
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

juniSdxWorkflowCompliances  OBJECT IDENTIFIER ::= { juniSdxWorkflowMib 2 }
juniSdxWorkflowGroups       OBJECT IDENTIFIER ::= { juniSdxWorkflowMib 3 }

-- compliance statements

juniSdxWorkflowCompliance MODULE-COMPLIANCE
        STATUS  current
        DESCRIPTION
                "The compliance statement for entities which implement
                the SDX MIB. (Workflow)"
        MODULE  -- this module
                MANDATORY-GROUPS { juniSdxWorkflowGroup }
        ::= { juniSdxWorkflowCompliances 1 }

juniSdxWorkflowGroup OBJECT-GROUP
    OBJECTS {  
             juniSdxWorkflowInstanceSize,
             juniSdxWorkflowEventSize,
             juniSdxWorkflowReportSize,
             juniSdxWorkflowPersistentSize,
             juniSdxWorkflowActiveWkfs,
             juniSdxWorkflowCompletedWkfs,
             juniSdxWorkflowCancelledWkfs,
             juniSdxWorkflowRunningWkfs,
             juniSdxWorkflowPendingEvents,
             juniSdxWorkflowAdminStatus,
             juniSdxWorkflowOperStatus,
             juniSdxWorkflowAction
    }
    STATUS  current
    DESCRIPTION
        "A collection of management objects pertaining
        to system management capabilities in SDX. (Workflow)"
        ::= { juniSdxWorkflowGroups 1 }

END